package com.itheima.skyserver.service;

import com.itheima.skyserver.pojo.domain.Employee;
import com.itheima.skyserver.result.PageResult;

public interface EmployeeService {
    Employee checkLogin(Employee employee);

    PageResult pageQuery(String name, Integer page, Integer pageSize);

    void setStatus(Integer status, Long id);

    void insertEmployee(Employee employee);

    Employee selectEmployeeById(Long id);

    void updateEmployee(Employee employee);

    void editPassword(String oldPassword, String newPassword);
}
